package com.ccn.crm.service;

import com.ccn.crm.model.installManage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface IInstall {
    int deleteByPrimaryKey(Integer id);

    int updateStatusById(Integer id,String pushStatus);

    int insert(installManage record);

    installManage selectByPrimaryKey(Integer id);

    installManage selectByPCode(@Param("pcode") String pcode);

    List<installManage> selectAll();

    int updateByPrimaryKey(installManage record);

    int updateBycrmPid(String crmpid, Double sum,Double intallCostSum,String timeDiffSum);



}